package ylsb.model;

import java.util.ArrayList;
import java.util.List;

public class ShebeiExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ShebeiExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andXiangmuidIsNull() {
            addCriterion("xiangmuid is null");
            return (Criteria) this;
        }

        public Criteria andXiangmuidIsNotNull() {
            addCriterion("xiangmuid is not null");
            return (Criteria) this;
        }

        public Criteria andXiangmuidEqualTo(String value) {
            addCriterion("xiangmuid =", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotEqualTo(String value) {
            addCriterion("xiangmuid <>", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidGreaterThan(String value) {
            addCriterion("xiangmuid >", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidGreaterThanOrEqualTo(String value) {
            addCriterion("xiangmuid >=", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLessThan(String value) {
            addCriterion("xiangmuid <", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLessThanOrEqualTo(String value) {
            addCriterion("xiangmuid <=", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLike(String value) {
            addCriterion("xiangmuid like", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotLike(String value) {
            addCriterion("xiangmuid not like", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidIn(List<String> values) {
            addCriterion("xiangmuid in", values, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotIn(List<String> values) {
            addCriterion("xiangmuid not in", values, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidBetween(String value1, String value2) {
            addCriterion("xiangmuid between", value1, value2, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotBetween(String value1, String value2) {
            addCriterion("xiangmuid not between", value1, value2, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andYuanquIsNull() {
            addCriterion("yuanqu is null");
            return (Criteria) this;
        }

        public Criteria andYuanquIsNotNull() {
            addCriterion("yuanqu is not null");
            return (Criteria) this;
        }

        public Criteria andYuanquEqualTo(String value) {
            addCriterion("yuanqu =", value, "yuanqu");
            return (Criteria) this;
        }

        public Criteria andYuanquNotEqualTo(String value) {
            addCriterion("yuanqu <>", value, "yuanqu");
            return (Criteria) this;
        }

        public Criteria andYuanquGreaterThan(String value) {
            addCriterion("yuanqu >", value, "yuanqu");
            return (Criteria) this;
        }

        public Criteria andYuanquGreaterThanOrEqualTo(String value) {
            addCriterion("yuanqu >=", value, "yuanqu");
            return (Criteria) this;
        }

        public Criteria andYuanquLessThan(String value) {
            addCriterion("yuanqu <", value, "yuanqu");
            return (Criteria) this;
        }

        public Criteria andYuanquLessThanOrEqualTo(String value) {
            addCriterion("yuanqu <=", value, "yuanqu");
            return (Criteria) this;
        }

        public Criteria andYuanquLike(String value) {
            addCriterion("yuanqu like", value, "yuanqu");
            return (Criteria) this;
        }

        public Criteria andYuanquNotLike(String value) {
            addCriterion("yuanqu not like", value, "yuanqu");
            return (Criteria) this;
        }

        public Criteria andYuanquIn(List<String> values) {
            addCriterion("yuanqu in", values, "yuanqu");
            return (Criteria) this;
        }

        public Criteria andYuanquNotIn(List<String> values) {
            addCriterion("yuanqu not in", values, "yuanqu");
            return (Criteria) this;
        }

        public Criteria andYuanquBetween(String value1, String value2) {
            addCriterion("yuanqu between", value1, value2, "yuanqu");
            return (Criteria) this;
        }

        public Criteria andYuanquNotBetween(String value1, String value2) {
            addCriterion("yuanqu not between", value1, value2, "yuanqu");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiIsNull() {
            addCriterion("shiyongkeshi is null");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiIsNotNull() {
            addCriterion("shiyongkeshi is not null");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiEqualTo(String value) {
            addCriterion("shiyongkeshi =", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiNotEqualTo(String value) {
            addCriterion("shiyongkeshi <>", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiGreaterThan(String value) {
            addCriterion("shiyongkeshi >", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiGreaterThanOrEqualTo(String value) {
            addCriterion("shiyongkeshi >=", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiLessThan(String value) {
            addCriterion("shiyongkeshi <", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiLessThanOrEqualTo(String value) {
            addCriterion("shiyongkeshi <=", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiLike(String value) {
            addCriterion("shiyongkeshi like", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiNotLike(String value) {
            addCriterion("shiyongkeshi not like", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiIn(List<String> values) {
            addCriterion("shiyongkeshi in", values, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiNotIn(List<String> values) {
            addCriterion("shiyongkeshi not in", values, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiBetween(String value1, String value2) {
            addCriterion("shiyongkeshi between", value1, value2, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiNotBetween(String value1, String value2) {
            addCriterion("shiyongkeshi not between", value1, value2, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengIsNull() {
            addCriterion("shebeimingcheng is null");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengIsNotNull() {
            addCriterion("shebeimingcheng is not null");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengEqualTo(String value) {
            addCriterion("shebeimingcheng =", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengNotEqualTo(String value) {
            addCriterion("shebeimingcheng <>", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengGreaterThan(String value) {
            addCriterion("shebeimingcheng >", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengGreaterThanOrEqualTo(String value) {
            addCriterion("shebeimingcheng >=", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengLessThan(String value) {
            addCriterion("shebeimingcheng <", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengLessThanOrEqualTo(String value) {
            addCriterion("shebeimingcheng <=", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengLike(String value) {
            addCriterion("shebeimingcheng like", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengNotLike(String value) {
            addCriterion("shebeimingcheng not like", value, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengIn(List<String> values) {
            addCriterion("shebeimingcheng in", values, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengNotIn(List<String> values) {
            addCriterion("shebeimingcheng not in", values, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengBetween(String value1, String value2) {
            addCriterion("shebeimingcheng between", value1, value2, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andShebeimingchengNotBetween(String value1, String value2) {
            addCriterion("shebeimingcheng not between", value1, value2, "shebeimingcheng");
            return (Criteria) this;
        }

        public Criteria andXinghaoIsNull() {
            addCriterion("xinghao is null");
            return (Criteria) this;
        }

        public Criteria andXinghaoIsNotNull() {
            addCriterion("xinghao is not null");
            return (Criteria) this;
        }

        public Criteria andXinghaoEqualTo(String value) {
            addCriterion("xinghao =", value, "xinghao");
            return (Criteria) this;
        }

        public Criteria andXinghaoNotEqualTo(String value) {
            addCriterion("xinghao <>", value, "xinghao");
            return (Criteria) this;
        }

        public Criteria andXinghaoGreaterThan(String value) {
            addCriterion("xinghao >", value, "xinghao");
            return (Criteria) this;
        }

        public Criteria andXinghaoGreaterThanOrEqualTo(String value) {
            addCriterion("xinghao >=", value, "xinghao");
            return (Criteria) this;
        }

        public Criteria andXinghaoLessThan(String value) {
            addCriterion("xinghao <", value, "xinghao");
            return (Criteria) this;
        }

        public Criteria andXinghaoLessThanOrEqualTo(String value) {
            addCriterion("xinghao <=", value, "xinghao");
            return (Criteria) this;
        }

        public Criteria andXinghaoLike(String value) {
            addCriterion("xinghao like", value, "xinghao");
            return (Criteria) this;
        }

        public Criteria andXinghaoNotLike(String value) {
            addCriterion("xinghao not like", value, "xinghao");
            return (Criteria) this;
        }

        public Criteria andXinghaoIn(List<String> values) {
            addCriterion("xinghao in", values, "xinghao");
            return (Criteria) this;
        }

        public Criteria andXinghaoNotIn(List<String> values) {
            addCriterion("xinghao not in", values, "xinghao");
            return (Criteria) this;
        }

        public Criteria andXinghaoBetween(String value1, String value2) {
            addCriterion("xinghao between", value1, value2, "xinghao");
            return (Criteria) this;
        }

        public Criteria andXinghaoNotBetween(String value1, String value2) {
            addCriterion("xinghao not between", value1, value2, "xinghao");
            return (Criteria) this;
        }

        public Criteria andTaijianshuIsNull() {
            addCriterion("taijianshu is null");
            return (Criteria) this;
        }

        public Criteria andTaijianshuIsNotNull() {
            addCriterion("taijianshu is not null");
            return (Criteria) this;
        }

        public Criteria andTaijianshuEqualTo(String value) {
            addCriterion("taijianshu =", value, "taijianshu");
            return (Criteria) this;
        }

        public Criteria andTaijianshuNotEqualTo(String value) {
            addCriterion("taijianshu <>", value, "taijianshu");
            return (Criteria) this;
        }

        public Criteria andTaijianshuGreaterThan(String value) {
            addCriterion("taijianshu >", value, "taijianshu");
            return (Criteria) this;
        }

        public Criteria andTaijianshuGreaterThanOrEqualTo(String value) {
            addCriterion("taijianshu >=", value, "taijianshu");
            return (Criteria) this;
        }

        public Criteria andTaijianshuLessThan(String value) {
            addCriterion("taijianshu <", value, "taijianshu");
            return (Criteria) this;
        }

        public Criteria andTaijianshuLessThanOrEqualTo(String value) {
            addCriterion("taijianshu <=", value, "taijianshu");
            return (Criteria) this;
        }

        public Criteria andTaijianshuLike(String value) {
            addCriterion("taijianshu like", value, "taijianshu");
            return (Criteria) this;
        }

        public Criteria andTaijianshuNotLike(String value) {
            addCriterion("taijianshu not like", value, "taijianshu");
            return (Criteria) this;
        }

        public Criteria andTaijianshuIn(List<String> values) {
            addCriterion("taijianshu in", values, "taijianshu");
            return (Criteria) this;
        }

        public Criteria andTaijianshuNotIn(List<String> values) {
            addCriterion("taijianshu not in", values, "taijianshu");
            return (Criteria) this;
        }

        public Criteria andTaijianshuBetween(String value1, String value2) {
            addCriterion("taijianshu between", value1, value2, "taijianshu");
            return (Criteria) this;
        }

        public Criteria andTaijianshuNotBetween(String value1, String value2) {
            addCriterion("taijianshu not between", value1, value2, "taijianshu");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangIsNull() {
            addCriterion("shengchanchangshang is null");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangIsNotNull() {
            addCriterion("shengchanchangshang is not null");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangEqualTo(String value) {
            addCriterion("shengchanchangshang =", value, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangNotEqualTo(String value) {
            addCriterion("shengchanchangshang <>", value, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangGreaterThan(String value) {
            addCriterion("shengchanchangshang >", value, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangGreaterThanOrEqualTo(String value) {
            addCriterion("shengchanchangshang >=", value, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangLessThan(String value) {
            addCriterion("shengchanchangshang <", value, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangLessThanOrEqualTo(String value) {
            addCriterion("shengchanchangshang <=", value, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangLike(String value) {
            addCriterion("shengchanchangshang like", value, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangNotLike(String value) {
            addCriterion("shengchanchangshang not like", value, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangIn(List<String> values) {
            addCriterion("shengchanchangshang in", values, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangNotIn(List<String> values) {
            addCriterion("shengchanchangshang not in", values, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangBetween(String value1, String value2) {
            addCriterion("shengchanchangshang between", value1, value2, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andShengchanchangshangNotBetween(String value1, String value2) {
            addCriterion("shengchanchangshang not between", value1, value2, "shengchanchangshang");
            return (Criteria) this;
        }

        public Criteria andXuliehaoIsNull() {
            addCriterion("xuliehao is null");
            return (Criteria) this;
        }

        public Criteria andXuliehaoIsNotNull() {
            addCriterion("xuliehao is not null");
            return (Criteria) this;
        }

        public Criteria andXuliehaoEqualTo(String value) {
            addCriterion("xuliehao =", value, "xuliehao");
            return (Criteria) this;
        }

        public Criteria andXuliehaoNotEqualTo(String value) {
            addCriterion("xuliehao <>", value, "xuliehao");
            return (Criteria) this;
        }

        public Criteria andXuliehaoGreaterThan(String value) {
            addCriterion("xuliehao >", value, "xuliehao");
            return (Criteria) this;
        }

        public Criteria andXuliehaoGreaterThanOrEqualTo(String value) {
            addCriterion("xuliehao >=", value, "xuliehao");
            return (Criteria) this;
        }

        public Criteria andXuliehaoLessThan(String value) {
            addCriterion("xuliehao <", value, "xuliehao");
            return (Criteria) this;
        }

        public Criteria andXuliehaoLessThanOrEqualTo(String value) {
            addCriterion("xuliehao <=", value, "xuliehao");
            return (Criteria) this;
        }

        public Criteria andXuliehaoLike(String value) {
            addCriterion("xuliehao like", value, "xuliehao");
            return (Criteria) this;
        }

        public Criteria andXuliehaoNotLike(String value) {
            addCriterion("xuliehao not like", value, "xuliehao");
            return (Criteria) this;
        }

        public Criteria andXuliehaoIn(List<String> values) {
            addCriterion("xuliehao in", values, "xuliehao");
            return (Criteria) this;
        }

        public Criteria andXuliehaoNotIn(List<String> values) {
            addCriterion("xuliehao not in", values, "xuliehao");
            return (Criteria) this;
        }

        public Criteria andXuliehaoBetween(String value1, String value2) {
            addCriterion("xuliehao between", value1, value2, "xuliehao");
            return (Criteria) this;
        }

        public Criteria andXuliehaoNotBetween(String value1, String value2) {
            addCriterion("xuliehao not between", value1, value2, "xuliehao");
            return (Criteria) this;
        }

        public Criteria andQiyongshijianIsNull() {
            addCriterion("qiyongshijian is null");
            return (Criteria) this;
        }

        public Criteria andQiyongshijianIsNotNull() {
            addCriterion("qiyongshijian is not null");
            return (Criteria) this;
        }

        public Criteria andQiyongshijianEqualTo(String value) {
            addCriterion("qiyongshijian =", value, "qiyongshijian");
            return (Criteria) this;
        }

        public Criteria andQiyongshijianNotEqualTo(String value) {
            addCriterion("qiyongshijian <>", value, "qiyongshijian");
            return (Criteria) this;
        }

        public Criteria andQiyongshijianGreaterThan(String value) {
            addCriterion("qiyongshijian >", value, "qiyongshijian");
            return (Criteria) this;
        }

        public Criteria andQiyongshijianGreaterThanOrEqualTo(String value) {
            addCriterion("qiyongshijian >=", value, "qiyongshijian");
            return (Criteria) this;
        }

        public Criteria andQiyongshijianLessThan(String value) {
            addCriterion("qiyongshijian <", value, "qiyongshijian");
            return (Criteria) this;
        }

        public Criteria andQiyongshijianLessThanOrEqualTo(String value) {
            addCriterion("qiyongshijian <=", value, "qiyongshijian");
            return (Criteria) this;
        }

        public Criteria andQiyongshijianLike(String value) {
            addCriterion("qiyongshijian like", value, "qiyongshijian");
            return (Criteria) this;
        }

        public Criteria andQiyongshijianNotLike(String value) {
            addCriterion("qiyongshijian not like", value, "qiyongshijian");
            return (Criteria) this;
        }

        public Criteria andQiyongshijianIn(List<String> values) {
            addCriterion("qiyongshijian in", values, "qiyongshijian");
            return (Criteria) this;
        }

        public Criteria andQiyongshijianNotIn(List<String> values) {
            addCriterion("qiyongshijian not in", values, "qiyongshijian");
            return (Criteria) this;
        }

        public Criteria andQiyongshijianBetween(String value1, String value2) {
            addCriterion("qiyongshijian between", value1, value2, "qiyongshijian");
            return (Criteria) this;
        }

        public Criteria andQiyongshijianNotBetween(String value1, String value2) {
            addCriterion("qiyongshijian not between", value1, value2, "qiyongshijian");
            return (Criteria) this;
        }

        public Criteria andShebeigongsiIsNull() {
            addCriterion("shebeigongsi is null");
            return (Criteria) this;
        }

        public Criteria andShebeigongsiIsNotNull() {
            addCriterion("shebeigongsi is not null");
            return (Criteria) this;
        }

        public Criteria andShebeigongsiEqualTo(String value) {
            addCriterion("shebeigongsi =", value, "shebeigongsi");
            return (Criteria) this;
        }

        public Criteria andShebeigongsiNotEqualTo(String value) {
            addCriterion("shebeigongsi <>", value, "shebeigongsi");
            return (Criteria) this;
        }

        public Criteria andShebeigongsiGreaterThan(String value) {
            addCriterion("shebeigongsi >", value, "shebeigongsi");
            return (Criteria) this;
        }

        public Criteria andShebeigongsiGreaterThanOrEqualTo(String value) {
            addCriterion("shebeigongsi >=", value, "shebeigongsi");
            return (Criteria) this;
        }

        public Criteria andShebeigongsiLessThan(String value) {
            addCriterion("shebeigongsi <", value, "shebeigongsi");
            return (Criteria) this;
        }

        public Criteria andShebeigongsiLessThanOrEqualTo(String value) {
            addCriterion("shebeigongsi <=", value, "shebeigongsi");
            return (Criteria) this;
        }

        public Criteria andShebeigongsiLike(String value) {
            addCriterion("shebeigongsi like", value, "shebeigongsi");
            return (Criteria) this;
        }

        public Criteria andShebeigongsiNotLike(String value) {
            addCriterion("shebeigongsi not like", value, "shebeigongsi");
            return (Criteria) this;
        }

        public Criteria andShebeigongsiIn(List<String> values) {
            addCriterion("shebeigongsi in", values, "shebeigongsi");
            return (Criteria) this;
        }

        public Criteria andShebeigongsiNotIn(List<String> values) {
            addCriterion("shebeigongsi not in", values, "shebeigongsi");
            return (Criteria) this;
        }

        public Criteria andShebeigongsiBetween(String value1, String value2) {
            addCriterion("shebeigongsi between", value1, value2, "shebeigongsi");
            return (Criteria) this;
        }

        public Criteria andShebeigongsiNotBetween(String value1, String value2) {
            addCriterion("shebeigongsi not between", value1, value2, "shebeigongsi");
            return (Criteria) this;
        }

        public Criteria andGuishuIsNull() {
            addCriterion("guishu is null");
            return (Criteria) this;
        }

        public Criteria andGuishuIsNotNull() {
            addCriterion("guishu is not null");
            return (Criteria) this;
        }

        public Criteria andGuishuEqualTo(String value) {
            addCriterion("guishu =", value, "guishu");
            return (Criteria) this;
        }

        public Criteria andGuishuNotEqualTo(String value) {
            addCriterion("guishu <>", value, "guishu");
            return (Criteria) this;
        }

        public Criteria andGuishuGreaterThan(String value) {
            addCriterion("guishu >", value, "guishu");
            return (Criteria) this;
        }

        public Criteria andGuishuGreaterThanOrEqualTo(String value) {
            addCriterion("guishu >=", value, "guishu");
            return (Criteria) this;
        }

        public Criteria andGuishuLessThan(String value) {
            addCriterion("guishu <", value, "guishu");
            return (Criteria) this;
        }

        public Criteria andGuishuLessThanOrEqualTo(String value) {
            addCriterion("guishu <=", value, "guishu");
            return (Criteria) this;
        }

        public Criteria andGuishuLike(String value) {
            addCriterion("guishu like", value, "guishu");
            return (Criteria) this;
        }

        public Criteria andGuishuNotLike(String value) {
            addCriterion("guishu not like", value, "guishu");
            return (Criteria) this;
        }

        public Criteria andGuishuIn(List<String> values) {
            addCriterion("guishu in", values, "guishu");
            return (Criteria) this;
        }

        public Criteria andGuishuNotIn(List<String> values) {
            addCriterion("guishu not in", values, "guishu");
            return (Criteria) this;
        }

        public Criteria andGuishuBetween(String value1, String value2) {
            addCriterion("guishu between", value1, value2, "guishu");
            return (Criteria) this;
        }

        public Criteria andGuishuNotBetween(String value1, String value2) {
            addCriterion("guishu not between", value1, value2, "guishu");
            return (Criteria) this;
        }

        public Criteria andLeibieIsNull() {
            addCriterion("leibie is null");
            return (Criteria) this;
        }

        public Criteria andLeibieIsNotNull() {
            addCriterion("leibie is not null");
            return (Criteria) this;
        }

        public Criteria andLeibieEqualTo(String value) {
            addCriterion("leibie =", value, "leibie");
            return (Criteria) this;
        }

        public Criteria andLeibieNotEqualTo(String value) {
            addCriterion("leibie <>", value, "leibie");
            return (Criteria) this;
        }

        public Criteria andLeibieGreaterThan(String value) {
            addCriterion("leibie >", value, "leibie");
            return (Criteria) this;
        }

        public Criteria andLeibieGreaterThanOrEqualTo(String value) {
            addCriterion("leibie >=", value, "leibie");
            return (Criteria) this;
        }

        public Criteria andLeibieLessThan(String value) {
            addCriterion("leibie <", value, "leibie");
            return (Criteria) this;
        }

        public Criteria andLeibieLessThanOrEqualTo(String value) {
            addCriterion("leibie <=", value, "leibie");
            return (Criteria) this;
        }

        public Criteria andLeibieLike(String value) {
            addCriterion("leibie like", value, "leibie");
            return (Criteria) this;
        }

        public Criteria andLeibieNotLike(String value) {
            addCriterion("leibie not like", value, "leibie");
            return (Criteria) this;
        }

        public Criteria andLeibieIn(List<String> values) {
            addCriterion("leibie in", values, "leibie");
            return (Criteria) this;
        }

        public Criteria andLeibieNotIn(List<String> values) {
            addCriterion("leibie not in", values, "leibie");
            return (Criteria) this;
        }

        public Criteria andLeibieBetween(String value1, String value2) {
            addCriterion("leibie between", value1, value2, "leibie");
            return (Criteria) this;
        }

        public Criteria andLeibieNotBetween(String value1, String value2) {
            addCriterion("leibie not between", value1, value2, "leibie");
            return (Criteria) this;
        }

        public Criteria andLiyouIsNull() {
            addCriterion("liyou is null");
            return (Criteria) this;
        }

        public Criteria andLiyouIsNotNull() {
            addCriterion("liyou is not null");
            return (Criteria) this;
        }

        public Criteria andLiyouEqualTo(String value) {
            addCriterion("liyou =", value, "liyou");
            return (Criteria) this;
        }

        public Criteria andLiyouNotEqualTo(String value) {
            addCriterion("liyou <>", value, "liyou");
            return (Criteria) this;
        }

        public Criteria andLiyouGreaterThan(String value) {
            addCriterion("liyou >", value, "liyou");
            return (Criteria) this;
        }

        public Criteria andLiyouGreaterThanOrEqualTo(String value) {
            addCriterion("liyou >=", value, "liyou");
            return (Criteria) this;
        }

        public Criteria andLiyouLessThan(String value) {
            addCriterion("liyou <", value, "liyou");
            return (Criteria) this;
        }

        public Criteria andLiyouLessThanOrEqualTo(String value) {
            addCriterion("liyou <=", value, "liyou");
            return (Criteria) this;
        }

        public Criteria andLiyouLike(String value) {
            addCriterion("liyou like", value, "liyou");
            return (Criteria) this;
        }

        public Criteria andLiyouNotLike(String value) {
            addCriterion("liyou not like", value, "liyou");
            return (Criteria) this;
        }

        public Criteria andLiyouIn(List<String> values) {
            addCriterion("liyou in", values, "liyou");
            return (Criteria) this;
        }

        public Criteria andLiyouNotIn(List<String> values) {
            addCriterion("liyou not in", values, "liyou");
            return (Criteria) this;
        }

        public Criteria andLiyouBetween(String value1, String value2) {
            addCriterion("liyou between", value1, value2, "liyou");
            return (Criteria) this;
        }

        public Criteria andLiyouNotBetween(String value1, String value2) {
            addCriterion("liyou not between", value1, value2, "liyou");
            return (Criteria) this;
        }

        public Criteria andOrdernumberIsNull() {
            addCriterion("ordernumber is null");
            return (Criteria) this;
        }

        public Criteria andOrdernumberIsNotNull() {
            addCriterion("ordernumber is not null");
            return (Criteria) this;
        }

        public Criteria andOrdernumberEqualTo(Integer value) {
            addCriterion("ordernumber =", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberNotEqualTo(Integer value) {
            addCriterion("ordernumber <>", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberGreaterThan(Integer value) {
            addCriterion("ordernumber >", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("ordernumber >=", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberLessThan(Integer value) {
            addCriterion("ordernumber <", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberLessThanOrEqualTo(Integer value) {
            addCriterion("ordernumber <=", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberIn(List<Integer> values) {
            addCriterion("ordernumber in", values, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberNotIn(List<Integer> values) {
            addCriterion("ordernumber not in", values, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberBetween(Integer value1, Integer value2) {
            addCriterion("ordernumber between", value1, value2, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberNotBetween(Integer value1, Integer value2) {
            addCriterion("ordernumber not between", value1, value2, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andBeizhu1IsNull() {
            addCriterion("beizhu1 is null");
            return (Criteria) this;
        }

        public Criteria andBeizhu1IsNotNull() {
            addCriterion("beizhu1 is not null");
            return (Criteria) this;
        }

        public Criteria andBeizhu1EqualTo(String value) {
            addCriterion("beizhu1 =", value, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu1NotEqualTo(String value) {
            addCriterion("beizhu1 <>", value, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu1GreaterThan(String value) {
            addCriterion("beizhu1 >", value, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu1GreaterThanOrEqualTo(String value) {
            addCriterion("beizhu1 >=", value, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu1LessThan(String value) {
            addCriterion("beizhu1 <", value, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu1LessThanOrEqualTo(String value) {
            addCriterion("beizhu1 <=", value, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu1Like(String value) {
            addCriterion("beizhu1 like", value, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu1NotLike(String value) {
            addCriterion("beizhu1 not like", value, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu1In(List<String> values) {
            addCriterion("beizhu1 in", values, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu1NotIn(List<String> values) {
            addCriterion("beizhu1 not in", values, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu1Between(String value1, String value2) {
            addCriterion("beizhu1 between", value1, value2, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu1NotBetween(String value1, String value2) {
            addCriterion("beizhu1 not between", value1, value2, "beizhu1");
            return (Criteria) this;
        }

        public Criteria andBeizhu2IsNull() {
            addCriterion("beizhu2 is null");
            return (Criteria) this;
        }

        public Criteria andBeizhu2IsNotNull() {
            addCriterion("beizhu2 is not null");
            return (Criteria) this;
        }

        public Criteria andBeizhu2EqualTo(String value) {
            addCriterion("beizhu2 =", value, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu2NotEqualTo(String value) {
            addCriterion("beizhu2 <>", value, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu2GreaterThan(String value) {
            addCriterion("beizhu2 >", value, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu2GreaterThanOrEqualTo(String value) {
            addCriterion("beizhu2 >=", value, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu2LessThan(String value) {
            addCriterion("beizhu2 <", value, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu2LessThanOrEqualTo(String value) {
            addCriterion("beizhu2 <=", value, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu2Like(String value) {
            addCriterion("beizhu2 like", value, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu2NotLike(String value) {
            addCriterion("beizhu2 not like", value, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu2In(List<String> values) {
            addCriterion("beizhu2 in", values, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu2NotIn(List<String> values) {
            addCriterion("beizhu2 not in", values, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu2Between(String value1, String value2) {
            addCriterion("beizhu2 between", value1, value2, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu2NotBetween(String value1, String value2) {
            addCriterion("beizhu2 not between", value1, value2, "beizhu2");
            return (Criteria) this;
        }

        public Criteria andBeizhu3IsNull() {
            addCriterion("beizhu3 is null");
            return (Criteria) this;
        }

        public Criteria andBeizhu3IsNotNull() {
            addCriterion("beizhu3 is not null");
            return (Criteria) this;
        }

        public Criteria andBeizhu3EqualTo(String value) {
            addCriterion("beizhu3 =", value, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu3NotEqualTo(String value) {
            addCriterion("beizhu3 <>", value, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu3GreaterThan(String value) {
            addCriterion("beizhu3 >", value, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu3GreaterThanOrEqualTo(String value) {
            addCriterion("beizhu3 >=", value, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu3LessThan(String value) {
            addCriterion("beizhu3 <", value, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu3LessThanOrEqualTo(String value) {
            addCriterion("beizhu3 <=", value, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu3Like(String value) {
            addCriterion("beizhu3 like", value, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu3NotLike(String value) {
            addCriterion("beizhu3 not like", value, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu3In(List<String> values) {
            addCriterion("beizhu3 in", values, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu3NotIn(List<String> values) {
            addCriterion("beizhu3 not in", values, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu3Between(String value1, String value2) {
            addCriterion("beizhu3 between", value1, value2, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu3NotBetween(String value1, String value2) {
            addCriterion("beizhu3 not between", value1, value2, "beizhu3");
            return (Criteria) this;
        }

        public Criteria andBeizhu4IsNull() {
            addCriterion("beizhu4 is null");
            return (Criteria) this;
        }

        public Criteria andBeizhu4IsNotNull() {
            addCriterion("beizhu4 is not null");
            return (Criteria) this;
        }

        public Criteria andBeizhu4EqualTo(String value) {
            addCriterion("beizhu4 =", value, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu4NotEqualTo(String value) {
            addCriterion("beizhu4 <>", value, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu4GreaterThan(String value) {
            addCriterion("beizhu4 >", value, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu4GreaterThanOrEqualTo(String value) {
            addCriterion("beizhu4 >=", value, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu4LessThan(String value) {
            addCriterion("beizhu4 <", value, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu4LessThanOrEqualTo(String value) {
            addCriterion("beizhu4 <=", value, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu4Like(String value) {
            addCriterion("beizhu4 like", value, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu4NotLike(String value) {
            addCriterion("beizhu4 not like", value, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu4In(List<String> values) {
            addCriterion("beizhu4 in", values, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu4NotIn(List<String> values) {
            addCriterion("beizhu4 not in", values, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu4Between(String value1, String value2) {
            addCriterion("beizhu4 between", value1, value2, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu4NotBetween(String value1, String value2) {
            addCriterion("beizhu4 not between", value1, value2, "beizhu4");
            return (Criteria) this;
        }

        public Criteria andBeizhu5IsNull() {
            addCriterion("beizhu5 is null");
            return (Criteria) this;
        }

        public Criteria andBeizhu5IsNotNull() {
            addCriterion("beizhu5 is not null");
            return (Criteria) this;
        }

        public Criteria andBeizhu5EqualTo(String value) {
            addCriterion("beizhu5 =", value, "beizhu5");
            return (Criteria) this;
        }

        public Criteria andBeizhu5NotEqualTo(String value) {
            addCriterion("beizhu5 <>", value, "beizhu5");
            return (Criteria) this;
        }

        public Criteria andBeizhu5GreaterThan(String value) {
            addCriterion("beizhu5 >", value, "beizhu5");
            return (Criteria) this;
        }

        public Criteria andBeizhu5GreaterThanOrEqualTo(String value) {
            addCriterion("beizhu5 >=", value, "beizhu5");
            return (Criteria) this;
        }

        public Criteria andBeizhu5LessThan(String value) {
            addCriterion("beizhu5 <", value, "beizhu5");
            return (Criteria) this;
        }

        public Criteria andBeizhu5LessThanOrEqualTo(String value) {
            addCriterion("beizhu5 <=", value, "beizhu5");
            return (Criteria) this;
        }

        public Criteria andBeizhu5Like(String value) {
            addCriterion("beizhu5 like", value, "beizhu5");
            return (Criteria) this;
        }

        public Criteria andBeizhu5NotLike(String value) {
            addCriterion("beizhu5 not like", value, "beizhu5");
            return (Criteria) this;
        }

        public Criteria andBeizhu5In(List<String> values) {
            addCriterion("beizhu5 in", values, "beizhu5");
            return (Criteria) this;
        }

        public Criteria andBeizhu5NotIn(List<String> values) {
            addCriterion("beizhu5 not in", values, "beizhu5");
            return (Criteria) this;
        }

        public Criteria andBeizhu5Between(String value1, String value2) {
            addCriterion("beizhu5 between", value1, value2, "beizhu5");
            return (Criteria) this;
        }

        public Criteria andBeizhu5NotBetween(String value1, String value2) {
            addCriterion("beizhu5 not between", value1, value2, "beizhu5");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}